<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../../layui/css/layui.css">
    <link rel="stylesheet" href="../../../zTree_v3-master/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../../css/coursepage/course.css">
</head>
<body>
<input id="fileNode_pid">
<input id="fileNode_pname">
<input id="ak">
<input id="mark">
<div id="rMenu" style="display: none">
    <ul>
        <li><button class="layui-btn" onclick="addNode();">增加</button></li>
        <li><button class="layui-btn" onclick="del();">删除</button></li>
        <li><button class="layui-btn" onclick="edit();">编辑</button></li>
    </ul>
</div>
<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md2" id="treeid">
            <ul id="treeDemo" class="ztree"></ul>
        </div>
        <div class="layui-col-md10" id="tableid">
            <div>
                <button id="qbkc" onclick="qbkc()" type="button" class="layui-btn layui-btn-primary">全部课程(<span id="selectallcourse"></span>)</button>
                <button id="ysj" onclick="ysj()" type="button" class="layui-btn layui-btn-primary">已上架(<span id="selectysj"></span>)</button>
                <button id="wsj" onclick="wsj()" type="button" class="layui-btn layui-btn-primary">未上架(<span id="selectwsj"></span>)</button>
                <button id="dsh" onclick="dsh()" type="button" class="layui-btn layui-btn-primary">待审核(<span id="selectdsh"></span>)</button>
                <button id="wtg" onclick="wtg()" type="button" class="layui-btn layui-btn-primary">未通过(<span id="selectwtg"></span>)</button>
            </div>
            <div>
                <div id="selectheader">
                    <div style="float: left">筛选查询</div>
                    <div id="sxselect"><a id="hide" onclick="hide()">收起查询</a></div>
                    <div><button class="layui-btn" id="advancedsearch" onclick="advancedsearch()">高级检索</button></div>
                </div>
                <div id="searchheader">
                    <form class="layui-form" lay-filter="formfilter">
                        <div class="kc">
                            <label class="layui-form-label">输入搜索:</label>
                            <div class="layui-input-block">
                                <input id="kcname" type="text" name="name" placeholder="请输入课程名称" autocomplete="off" value="" class="layui-input">
                            </div>
                        </div>
                        <div class="kc">
                            <label class="layui-form-label">课程分类:</label>
                            <div class="layui-input-block">
                                <button class="layui-btn" id="demo1">
                                    请选择课程分类
                                    <i class="layui-icon layui-icon-down layui-font-12"></i>
                                </button>
                            </div>
                        </div>
                        <div class="kc">
                            <label class="layui-form-label">价格查询:</label>
                            <div class="layui-input-block">
                                <input id="kcprice" type="text" name="price" oninput="this.value=this.value.replace(/[^0-9]/g,'')"; placeholder="请输入价格(只能输入数字)" autocomplete="off" value="" class="layui-input">
                            </div>
                        </div>
                        <div class="kc">
                            <button id="selectkc" lay-submit class="layui-btn" type="button">搜索</button>
                            <button type="button" id="selectadd" class="layui-btn">添加</button>
                        </div>
                    </form>
                </div>
            </div>
            <div style="clear: both">
            <table id="demo" lay-filter="test"></table>
            </div>
        </div>
    </div>
</div>
<script src="../../../js/jquery-3.6.0.js"></script>
<script src="../../../layui/layui.js"></script>
<script src="../../../zTree_v3-master/js/jquery.ztree.all.min.js"></script>
<script type="text/html" id="barDemo">
    <div style="line-height: 10px;margin-left: 0px;margin-top: 20px;padding: 0px;color: #0000FF">
        <a class=" layui-btn-sm" lay-event="detail" id="ck">查看</a>
        <a class=" layui-btn-sm" lay-event="log" id="rz">日志</a><br/>
        <a class=" layui-btn-sm" lay-event="delete" id="sc">删除</a>
        <a class=" layui-btn-sm" lay-event="update" id="bj">编辑</a>
    </div>
</script>
<script src="../../../js/coursepage/course.js"></script>
</body>
</html>
